dojo.provide('ph.sound.Speech');

dojo.declare('ph.sound.Speech', null, {
  say: function(it, delay) {
    spawn(function() {
      if (delay) java.lang.Thread.sleep(delay);
      runCommand('/usr/bin/say', it);
    });
  }
});